home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
24
/
7
/
DISK2472.ZIP
/
EXITCODE.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-11-11
|
914b
|
22 lines
ECHO Off
IF NOT ERRORLEVEL 1 SMENU %1
IF NOT ERRORLEVEL 2 ECHO FORCED EXIT 1: The exit occurred during processing.
IF NOT ERRORLEVEL 2 GOTO EXIT
IF NOT ERRORLEVEL 3 ECHO ALTERNATE EXIT 2: No new checkpoint was taken.
IF NOT ERRORLEVEL 3 GOTO EXIT
IF NOT ERRORLEVEL 5 ECHO ERROR EXIT 4: The disk is full. The checkpoint was lost.
IF NOT ERRORLEVEL 5 GOTO EXIT
IF NOT ERRORLEVEL 6 ECHO FORCED ERROR EXIT 5: The disk is full. The checkpoint was lost.
IF NOT ERRORLEVEL 6 GOTO EXIT
IF NOT ERRORLEVEL 7 ECHO STARTUP FAIL 6: The disk directory is full.
IF NOT ERRORLEVEL 7 GOTO EXIT
IF NOT ERRORLEVEL 9 ECHO STARTUP FAIL 8: The task file is in the old format.
IF NOT ERRORLEVEL 9 Conv223 %1
IF NOT ERRORLEVEL 9 GOTO EXIT
IF NOT ERRORLEVEL 10 ECHO STARTUP FAIL 9: The task file is corrupt.
IF NOT ERRORLEVEL 10 GOTO EXIT
ECHO PROGRAM NOT STARTED: Available storage is too small.
:EXIT
Pause
MENU %1